<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<link href="../css/normalize.css" type="text/css" rel="stylesheet" />
	<link href="../css/common.css" type="text/css" rel="stylesheet" />
	<title>我的快件</title>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
	<style type="text/css">
		body{
			margin: 0;
			padding: 0;
			background-color: #eeeeee;
			font-family: "楷体";
		}
		.expUserInfoNull{
			width: 100%;
			line-height: 150px;
			text-align: center;
			color: #888888;
			display: none;
		}
		.item{
			margin: 20px;
			margin-bottom: 50px;
		}
		.imte_top{
			text-align: center;
		}
		.imte_top>span{
			font-size:14px;
			display: inline-block;
			padding: 5px 12px;
			background-color: #ddd;
			color:#fff;
			border-radius: 5px;
		}
		.item_content{
			background-color: #fff;
			padding: 25px 15px;
			margin-top: 6px;
		}
		.item_content_top_1{
			font-size: 24px;
			font-weight: bold;
		}
		.item_content_top_2{
			color:#eee;
			font-size: 14px;
			margin: 5px 0px;
		}
		.item_content_top_3{
			margin: 10px 0px;
		}
		.item_content_top_4{
			margin: 10px 0px;
		}
		.item_content_bottom>a{
			text-decoration: none;
			color:#33e;
		}
	</style>
	<script src="js/jquery.min.js"></script>
	<script src="/layer/layer.js"></script>
	<script src="js/notice.js" type="text/javascript"></script>
	<script src="js/common.js" type="text/javascript"></script>
</head>
<body>
<div class="headerNav">
	<div class="headerNavTop"><div class="headerNavIcon headerNavIconOut"><span></span><span></span></div></div>
	<div class="headerNavCont">
		<a href="index.html">快递首页</a>
		<a href="./userhome.html">个人中心</a>
		<a href="./delivery.html">送货上门</a>
		<!-- 			<a href="./sendexpress.html">我要寄件</a>
		 -->			<a href="../lazyboard.html">懒人排行</a>
		<a href="./expassistant.html">快递助手</a>
	</div>
</div>
<div class="expUserInfoNull" id="expUserInfoNull">
	暂无查到相关信息
</div>
<div class="content" id="status0"></div>
</body>
<script>
	$(function () {
		var windowId = layer.load();
		$.getJSON("/wx/list.do",null,function (data) {
			layer.close(windowId);
			layer.msg(data.content)
			var list = data.data;
			if (data.status === 0) {
				$("#expUserInfoNull").hide();
				for (var i = 0;i < list.length; i++) {
					$("#status0").append("<div class=\"item\">\n" +
							"\t\t\t<div class=\"imte_top\"><span>"+list[i].inTime+"</span></div>\n" +
							"\t\t\t<div class=\"item_content\">\n" +
							"\t\t\t\t<div class=\"item_content_top\">\n" +
							"\t\t\t\t\t<div class=\"item_content_top_1\">编号:"+list[i].id+"</div>\n" +
							"\t\t\t\t\t<div class=\"item_content_top_2\">"+list[i].inTime+"</div>\n" +
							"\t\t\t\t\t<div class=\"item_content_top_3\">运单号码:"+list[i].number+"</div>\n" +
							"\t\t\t\t\t<div class=\"item_content_top_4\">\n" +
							"\t\t\t\t\t\t手机号码:<span style=\"color:#05a\">"+list[i].userPhone+"</span><br>\n" +
							"\t\t\t\t\t\t快递公司:"+list[i].company+"<br>\n" +
							"\t\t\t\t\t\t"+list[i].status+"<br>\n" +
							"\t\t\t\t\t</div>\n" +
							"\t\t\t\t</div>\n" +
							"\t\t\t</div>\n" +
							"\t\t</div>");
				}
			}
		})
	})
</script>
</html>